/* ==================
        初始化
 ==================== */
body {
	background-color: #fff;
	font-size: 28px;
	color: #333;
	line-height: 1.6;
	font-family: 'mp-quote', -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
}

view,
scroll-view,
swiper,
swiper-item,
cover-view,
cover-image,
icon,
rich-text,
progress,
button,
checkbox,
form,
input,
label,
radio,
slider,
switch,
textarea,
navigator,
audio,
camera,

// #ifndef MP-WEIXIN
img,
span,
// #endif

video {
	box-sizing: border-box;
}

switch {
	transform: translateX(16px) scale(0.9);
}

/**
 * 页面公共样式
 **/
input {
	height: inherit;
}

uni-button,
button {
	font-weight: normal;
}

uni-button.no-border:before,
uni-button.no-border:after,
button.no-border:before,
button.no-border:after {
	border: 0 none;
}

button {
	border: 0 none;
}

button.btn {
	background-color: transparent;
	padding-left: 0;
	padding-right: 0;
	height: inherit;
	line-height: inherit;
}

view[class*='-area'] {
}

view[class*='-round-area'] {
	border-radius: 20px;
}

.safe-area-inset-bottom {
	padding-bottom: 0;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
}

.use-page {
	min-height: 100%;
	width: 100%;
	background: #fff;
}

.use-hover-class {
	opacity: 0.6;
}

/**
 * 组件公共样式
 **/
.price {
	font-size: 36px;
	color: #ff6a6c;
	line-height: 1;
	font-weight: 580;
}

.m-price {
	font-size: 24px;
	text-decoration: line-through;
	color: #909399;
	margin-left: 20px;
}

.price::before {
	content: '￥';
	font-size: 24px;
}

.m-price::before {
	content: '￥';
	font-size: 24px;
}

.price::after {
	content: attr(data-decimal);
	font-size: 24px;
}

.price-add::before {
	content: '＋';
	font-weight: 600;
}

.price-sub::before {
	content: '－';
	font-weight: 600;
}

.badge {
	position: absolute;
	top: 0;
	right: 0;
	background: #ff6a6c;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	display: inline-block;
	padding: 3px 6px;
	border-radius: 50px;
	font-weight: normal !important;
}

.badge-small {
	transform: scale(0.8);
	transform-origin: center center;
}

.dn {
	display: none !important;
}

.diblock {
	display: inline-block;
}

/* flex 布局 */
.dflex {
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

.dflex-s {
	display: flex;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}

.dflex-e {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
}

.dflex-c {
	display: flex;
	justify-content: center;
	align-items: center;
}

.dflex-a {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.dflex-b {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.dflex-flow-c {
	flex-flow: column;
}

.dflex-wrap-w {
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

.flex1 {
	flex: 1;
}

.box-sizing-b {
	box-sizing: border-box;
}

.box-sizing-c {
	box-sizing: content-box;
}

/* 间隔槽 */
.gap {
	display: block;
	width: 100%;
	height: 20px;
	background: #f5f5f5;
}

/* 垂直线 */
.vertical-line {
	border-left: 1px solid #ededed;
	height: 30%;
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	right: 0;
}

/* 下边框线 */
.border-bottom {
	border-bottom: 1px solid #f5f5f5;
}

/* 文字超出省略 */
.clamp {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	width: 100%;
}

.clamp-2 {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
	white-space: normal !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 36px;
}

.ws-np {
	white-space: nowrap;
}

.line-height-1 {
	line-height: 1;
}

/* 文字对齐 */
.tac {
	text-align: center;
}

.tar {
	text-align: right;
}

.tal {
	text-align: left;
}

/* 相对定位|绝对定位|固定定位 */
.fixed {
	position: fixed;
	z-index: 1;
}

.pos-r {
	position: relative;
}

.pos-f {
	position: fixed;
	z-index: 1;
}

.pos-a {
	position: absolute;
}

.pos-t-c {
	top: 50%;
	transform: translateY(-50%);
}

.pos-l-c {
	left: 50%;
	transform: translateX(-50%);
}

.pos-tl-c {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.pos-top {
	top: 0;
}

.pos-right {
	right: 0;
}

.pos-bottom {
	bottom: 0;
}

.pos-left {
	left: 0;
}

.pos-full {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* 圆角 */
.border-radius-big {
	border-radius: 100px;
}

.border-radius-lg {
	border-radius: 50px;
}

.border-radius {
	border-radius: 20px;
}

.border-radius-xs {
	border-radius: 6px;
}

.border-radius-sm {
	border-radius: 10px;
}

.border-radius-c {
	border-radius: 50%;
}

view[class*='border-radius'] {
	overflow: hidden;
}

.fixed-top {
	width: 100px;
	height: 100px;
	right: 30px;
	bottom: 30px;
	background: #fff;
	box-shadow: 0px 0px 7px 3px #f0f0f0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	z-index: 9;
}

.fixed-top .iconfont {
	font-size: 44px;
}

/* 底部操作区 */
.fixed-oper-area {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100px;
	z-index: 998;
	font-size: 36px;
	box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}

/* 宽高 */
.wh-full {
	width: 100%;
	height: 100%;
}

.h-full {
	height: 100%;
}

.w-full {
	width: 100%;
}

/* 背景色 */
.bg-main {
	background: #fff;
}

.bg-drak {
	background: #f5f5f5;
}

.bg-base {
	background-color: #ff6a6c;
	color: #fff;
}

.bg-warn {
	background: #ffbc49;
	color: #333;
}

.bg-disabled {
	background: #f4f4f4 !important;
	color: #bbb !important;
}

.ft-main {
	color: #333;
}

.ft-base {
	color: #ff6a6c;
}

.ft-dark {
	color: #bbb;
}

.ft-black {
	color: #333;
}

.ft-white {
	color: #fff;
}

.fs-xxs {
	font-size: 22px;
}

.fs-xs {
	font-size: 24px;
}

.fs-sm {
	font-size: 28px;
}

.fs {
	font-size: 32px;
}

.fs-lg {
	font-size: 36px;
}

.fs-xl {
	font-size: 40px;
}

.fs-xxl {
	font-size: 50px;
}

.fs-xxxl {
	font-size: 60px;
}

.fs-big {
	font-size: 52px;
}

.fs-20 {
	font-size: 20px;
}

.fs-30 {
	font-size: 30px;
}

.fs-34 {
	font-size: 34px;
}

.fwb {
	font-weight: 580;
}

.fwbd {
	font-weight: bold;
}

.active {
	color: #ff6a6c !important;
}

.disabled {
	color: #bbb !important;
}

.border-line {
	border-bottom: 1px solid #f7f7f7;
}

.image-sm {
	width: 100px;
	height: 100px;
}

.overflow-hidden {
	overflow: hidden;
}

.headimg {
	border: 1px solid #f5f5f5;
}

/* 外边距 */
.margin-0 {
	margin: 0;
}

.margin-xs {
	margin: 10px;
}

.margin-sm {
	margin: 20px;
}

.margin {
	margin: 30px;
}

.margin-lg {
	margin: 40px;
}

.margin-xl {
	margin: 50px;
}

.margin-big {
	margin: 100px;
}

.margin-top-xs {
	margin-top: 10px;
}

.margin-top-sm {
	margin-top: 20px;
}

.margin-top {
	margin-top: 30px;
}

.margin-top-lg {
	margin-top: 40px;
}

.margin-top-xl {
	margin-top: 50px;
}

.margin-top-big {
	margin-top: 100px;
}

.margin-right-xs {
	margin-right: 10px;
}

.margin-right-sm {
	margin-right: 20px;
}

.margin-right {
	margin-right: 30px;
}

.margin-right-lg {
	margin-right: 40px;
}

.margin-right-xl {
	margin-right: 50px;
}

.margin-bottom-xs {
	margin-bottom: 10px;
}

.margin-bottom-sm {
	margin-bottom: 20px;
}

.margin-bottom {
	margin-bottom: 30px;
}

.margin-bottom-lg {
	margin-bottom: 40px;
}

.margin-bottom-xl {
	margin-bottom: 50px;
}

.margin-bottom-big {
	margin-bottom: 100px;
}

.margin-left-xs {
	margin-left: 10px;
}

.margin-left-sm {
	margin-left: 20px;
}

.margin-left {
	margin-left: 30px;
}

.margin-left-lg {
	margin-left: 40px;
}

.margin-left-xl {
	margin-left: 50px;
}

.margin-lr-xs {
	margin-left: 10px;
	margin-right: 10px;
}

.margin-lr-sm {
	margin-left: 20px;
	margin-right: 20px;
}

.margin-lr {
	margin-left: 30px;
	margin-right: 30px;
}

.margin-lr-lg {
	margin-left: 40px;
	margin-right: 40px;
}

.margin-lr-xl {
	margin-left: 50px;
	margin-right: 50px;
}

.margin-tb-xs {
	margin-top: 10px;
	margin-bottom: 10px;
}

.margin-tb-sm {
	margin-top: 20px;
	margin-bottom: 20px;
}

.margin-tb {
	margin-top: 30px;
	margin-bottom: 30px;
}

.margin-tb-lg {
	margin-top: 40px;
	margin-bottom: 40px;
}

.margin-tb-xl {
	margin-top: 50px;
	margin-bottom: 50px;
}

/* 内边距 */
.padding-0 {
	padding: 0;
}

.padding-xs {
	padding: 10px;
}

.padding-sm {
	padding: 20px;
}

.padding {
	padding: 30px;
}

.padding-lg {
	padding: 40px;
}

.padding-xl {
	padding: 50px;
}

.padding-top-xs {
	padding-top: 10px;
}

.padding-top-sm {
	padding-top: 20px;
}

.padding-top {
	padding-top: 30px;
}

.padding-top-lg {
	padding-top: 40px;
}

.padding-top-xl {
	padding-top: 50px;
}

.padding-top-big {
	padding-top: 100px;
}

.padding-right-xs {
	padding-right: 10px;
}

.padding-right-sm {
	padding-right: 20px;
}

.padding-right {
	padding-right: 30px;
}

.padding-right-lg {
	padding-right: 40px;
}

.padding-right-xl {
	padding-right: 50px;
}

.padding-right-0 {
	padding-right: 0;
}

.padding-bottom-xs {
	padding-bottom: 10px;
}

.padding-bottom-sm {
	padding-bottom: 20px;
}

.padding-bottom {
	padding-bottom: 30px;
}

.padding-bottom-lg {
	padding-bottom: 40px;
}

.padding-bottom-xl {
	padding-bottom: 50px;
}

.padding-bottom-big {
	padding-bottom: 100px;
}

.padding-left-xs {
	padding-left: 10px;
}

.padding-left-sm {
	padding-left: 20px;
}

.padding-left {
	padding-left: 30px;
}

.padding-left-lg {
	padding-left: 40px;
}

.padding-left-xl {
	padding-left: 50px;
}

.padding-lr-xs {
	padding-left: 10px;
	padding-right: 10px;
}

.padding-lr-sm {
	padding-left: 20px;
	padding-right: 20px;
}

.padding-lr {
	padding-left: 30px;
	padding-right: 30px;
}

.padding-lr-lg {
	padding-left: 40px;
	padding-right: 40px;
}

.padding-lr-xl {
	padding-left: 50px;
	padding-right: 50px;
}

.padding-lr-16 {
	padding-left: 16px;
	padding-right: 16px;
}

.padding-tb-xs {
	padding-top: 10px;
	padding-bottom: 10px;
}

.padding-tb-sm {
	padding-top: 20px;
	padding-bottom: 20px;
}

.padding-tb {
	padding-top: 30px;
	padding-bottom: 30px;
}

.padding-tb-lg {
	padding-top: 40px;
	padding-bottom: 40px;
}

.padding-tb-xl {
	padding-top: 50px;
	padding-bottom: 50px;
}

.padding-tb-16 {
	padding-top: 16px;
	padding-bottom: 16px;
}

.animated {
	-webkit-animation-duration: 0.55s;
	animation-duration: 0.55s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.animated-all {
	transition: all 0.5s;
}

.animated.rotate {
	animation: rotate 0.75s linear infinite;
	transform-origin: center center;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.animated.fade-in {
	animation: fadein 0.75s linear;
}

@keyframes fadein {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.animated.fade-out {
	animation-name: fadeout;
}

@keyframes fadeout {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

/* uni css */
.uni-page-head-btn {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* #ifdef H5 || MP-360 */
::-webkit-scrollbar {
	width: 0;
	height: 0;
	color: transparent;
	display: none;
}

/* #endif */
